﻿@using VirtualPress.Infrastructure.Entities.Entity;
@using VirtualPress.Tool.Framework;
@{
    Layout = "/Views/Shared/_Conference.cshtml";
    Meeting meeting = ViewBag.Meeting;
}
<div class="span7 content">
    <div class="title">
        <h3>
            @meeting.Name</h3>
        <p class="subtitle">
            @meeting.Name_EN</p>
    </div>
    <p class="summary" style="text-indent:25px;">
        @Html.Raw(meeting.Abstract.NoHTMLLabel().PieceOfString(0, 300, " <a href=\"/about\" class=\"pull-right more\">more</a>"))
    </p>
    <p class="line">
        <hr />
    </p>
    <div class="row">
        <div class="span4">
            <h5>
                会议动态</h5>
            @{
                List<News> list = ViewBag.News;
                if (list != null && list.Any())
                {
                    foreach (var item in list)
                    {
                <div class="row">
                    <div class="span3">
                        <a href="/detail?type=1&sid=@item.Id" title="@item.Title" target="_blank">@item.Title.PieceOfString(0, 12, "...")</a></div>
                    <div class="span1 more  right">
                        @item.CreateDate.ToString("yyyy")</div>
                </div>
                    }
                }
            }
        </div>
        <div class="span3">
            <h5>
                重要日程</h5>
            @{
                List<ImportantPan> pan = ViewBag.Pan;
                if (pan != null && pan.Any())
                {
                    foreach (var item in pan)
                    {
                <div class="row">
                    <div class="span2">
                        @item.Title</div>
                    <div class="span1 more red right">
                        @item.CreateDate.ToString("yyyy/MM/dd")</div>
                </div>
                    }
                }
            }
        </div>
    </div>
</div>
@section tail
{
    <script type="text/javascript">
        $(function () {
            $('#likhome').addClass('menu-active');
        });
    </script>
}
